package com.amumu.drama.common.modules.category.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class GameSkuVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty(value = "游戏ID")
    private Long productCategoryId;

    @ApiModelProperty(value = "游戏ID")
    private String gameName;

    @ApiModelProperty(value = "sku编码")
    private String skuCode;

    @ApiModelProperty(value = "直充模板ID")
    private String directTemplateId;

    @ApiModelProperty(value = "游戏模板ID")
    private Long productTemplateId;

    @ApiModelProperty(value = "直充商品名称")
    private String directSkuName;

    @ApiModelProperty(value = "商品名称")
    private String skuName;

    @ApiModelProperty("sku售价")
    private BigDecimal price;

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("充值类型（0-接口；1-人工）")
    private Integer rechargeType;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "直充库存")
    private Integer directStock;

    @ApiModelProperty(value = "展示图片")
    @TableField(value = "pic")
    private String pic;

    @ApiModelProperty(value = "销量")
    @TableField(value = "sale")
    private Integer sale;

    @TableField(value = "sort")
    private Integer sort;

    @ApiModelProperty(value = "上架状态：0->下架；1->上架")
    @TableField(value = "publish_status")
    private Integer publishStatus;

    @ApiModelProperty(value = "直充上架状态：0->下架；1->上架")
    @TableField(value = "direct_publish_status")
    private Integer directPublishStatus;

}